package com.hengxinguotong.hxgtwygsp.ui.maintenance;

import com.hengxinguotong.hxgtwygsp.R;
import com.hengxinguotong.hxgtwygsp.ui.base.DialogActivity;
import com.hengxinguotong.hxgtwygsp.ui.maintenance.budget.InAndOutFragment;
import com.hengxinguotong.hxgtwygsp.ui.maintenance.unpaid.UnpaidFragment;

import javax.inject.Inject;

/**
 * TODO 房屋专项维修资金
 *
 * @author hjz
 * @version V1.0.0
 * @since 2019/3/28 15:02
 */
public class  MaintenanceActivity extends DialogActivity
{
    @Inject
    UnpaidFragment unpaidFragment;
    @Inject
    InAndOutFragment budgetFragment;

    @Override
    public void initFragmentList()
    {
        dialogTitle.setText(R.string.main_maintenance_fund);
        budgetFragment.setTabText(getString(R.string.main_income_expense));
        budgetFragment.setDismissYear(true);
        baseTabFragmentList.add(budgetFragment);
        unpaidFragment.setTabText(getString(R.string.main_unpaid_publish));
        baseTabFragmentList.add(unpaidFragment);
    }
}
